import request from "@/utils/request"

const API = {
    LOGIN_URL : "/login",
    USERINFO_URL : "/user-info",
    LOGOUT_URL : "/logout"
}

export const reqLogin = (requestParam) => request.post(API.LOGIN_URL, requestParam)
export const reqUserInfo = () => request.get(API.USERINFO_URL)
export const reqLogout = () => request.post(API.LOGOUT_URL)
